from django.conf.urls import patterns, url
from user_contacts.views import *

urlpatterns = patterns(
    '',
    url(r'^$', home, name="home"),
    url(r'^index/$', index, name="index"),
    url(r'^all/$', all_contacts, name="all_contacts"),
    url(r'^list/(?P<number>\d+)/$', contacts_detail, name="contacts_detail"),
    url(r'^person/$', all_person, name="all_person"),
    url(r'^add/$', add_contact, name="add_contact"),
    url(r'^create/$', create, name="create"),
    url(r'^delete/$', delete, name="delete"),
    url(r'^deny/$', deny, name="deny"),
    )
